Skip to content

PDFPage.SaveCanvas Method

SaveCanvas()

Saves the page canvas.

C#
public void SaveCanvas()

Remarks

The page canvas can be composed internally of multiple fragments. If you are working with large vector graphics, such as maps, then you can split the page canvas in fragments and save each fragmment as soon as it is done in order to reduce memory consumption. A graphics fragment is automatically created when O2S.Components.PDF4NET.Graphics.PDFPageCanvas.Compress method is called.
The page must be included in a document and the save procedure must be already initiated by a O2S.Components.PDF4NET.PDFFixedDocument.BeginSave call.